Skip to main content

All Questions

2votes
1answer
76views

Launch a command when connected to a host

In a dormitory I live in the access to Internet is somehow clumsy. The procedure follows Connect to the network (via WiFi/Ethernet) Login by ssh sshpass -p password ssh [email protected] Moreover, ...
marmistrz's user avatar
0votes
1answer
179views

Bash script - sshing into one computer and then immediately into that comupter's network's modem

I am currently attempting to automagically reboot my modem that for some reason or another will only allow certain types of small Linux OS's to ssh into it - and not the one I am using. So, rebooting ...
Evan Fleak's user avatar
2votes
1answer
4kviews

Change IP remotely over ssh

I am using CentOS. I have a management server which has password-less ssh access to four other servers. I don't have physical access to these servers. In other words, I have to make all ...
Steve's user avatar
21votes
6answers
57kviews

How can I check that a remote computer is online for ssh / script access?

I'm writing a script that will backup data from my laptop to an Ubuntu server. To do so, I'm looking for a (ba)sh command to test if the server is available before starting the backup. something like ...
Amo__'s user avatar

close